package com.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.reggie.dto.EmployeeLoginDTO;
import com.reggie.dto.EmployeePageQueryDTO;
import com.reggie.entity.Employee;
import com.reggie.result.PageResult;


public interface EmployeeService extends IService<Employee> {

    /**
     * 1.员工登录业务
     * */
     Employee login(EmployeeLoginDTO employeeLoginDTO);

     /**
      * 2.员工注册
      * */
    void reg(Employee employee);

    /**
     * 3.分页查询员工
     * */
    PageResult pageQuery(EmployeePageQueryDTO employeePageQueryDTO);

    /**
     * 4.修改员工状态
     * */
    void startOrStop(Integer status, Long id);


}
